.class Lcom/netease/newsreader/activity/NewsReader$9;
.super Ljava/lang/Object;
.source "NewsReader.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/netease/newsreader/activity/NewsReader;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/netease/newsreader/activity/NewsReader;


# direct methods
.method constructor <init>(Lcom/netease/newsreader/activity/NewsReader;)V
    .locals 0
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lcom/netease/newsreader/activity/NewsReader$9;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    .line 4030
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method static synthetic access$0(Lcom/netease/newsreader/activity/NewsReader$9;)Lcom/netease/newsreader/activity/NewsReader;
    .locals 1
    .parameter

    .prologue
    .line 4030
    iget-object v0, p0, Lcom/netease/newsreader/activity/NewsReader$9;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    return-object v0
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 4
    .parameter "v"

    .prologue
    const/4 v3, 0x0

    .line 4034
    iget-object v0, p0, Lcom/netease/newsreader/activity/NewsReader$9;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v0}, Lcom/netease/newsreader/activity/NewsReader;->access$42(Lcom/netease/newsreader/activity/NewsReader;)Lcom/netease/newsreader/view/PullRefreshListView;

    move-result-object v0

    invoke-virtual {v0}, Lcom/netease/newsreader/view/PullRefreshListView;->refreshDone()V

    .line 4035
    iget-object v0, p0, Lcom/netease/newsreader/activity/NewsReader$9;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v0}, Lcom/netease/newsreader/activity/NewsReader;->access$19(Lcom/netease/newsreader/activity/NewsReader;)Landroid/widget/ListView;

    move-result-object v0

    iget-object v1, p0, Lcom/netease/newsreader/activity/NewsReader$9;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v1}, Lcom/netease/newsreader/activity/NewsReader;->access$20(Lcom/netease/newsreader/activity/NewsReader;)Landroid/widget/LinearLayout;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->removeFooterView(Landroid/view/View;)Z

    .line 4037
    iget-object v0, p0, Lcom/netease/newsreader/activity/NewsReader$9;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v0, v3}, Lcom/netease/newsreader/activity/NewsReader;->access$47(Lcom/netease/newsreader/activity/NewsReader;I)V

    .line 4039
    iget-object v0, p0, Lcom/netease/newsreader/activity/NewsReader$9;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v0}, Lcom/netease/newsreader/activity/NewsReader;->access$19(Lcom/netease/newsreader/activity/NewsReader;)Landroid/widget/ListView;

    move-result-object v0

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setTag(Ljava/lang/Object;)V

    .line 4041
    iget-object v0, p0, Lcom/netease/newsreader/activity/NewsReader$9;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v0}, Lcom/netease/newsreader/util/Tools;->CheckNetwork(Landroid/content/Context;)Z

    move-result v0

    if-nez v0, :cond_0

    .line 4042
    iget-object v0, p0, Lcom/netease/newsreader/activity/NewsReader$9;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    const-string v1, "\u7f51\u7edc\u8fde\u63a5\u9519\u8bef"

    invoke-static {v0, v1, v3}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    .line 4043
    iget-object v0, p0, Lcom/netease/newsreader/activity/NewsReader$9;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v0}, Lcom/netease/newsreader/activity/NewsReader;->access$26(Lcom/netease/newsreader/activity/NewsReader;)Landroid/widget/LinearLayout;

    move-result-object v0

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    .line 4046
    :cond_0
    iget-object v0, p0, Lcom/netease/newsreader/activity/NewsReader$9;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v0, p1}, Lcom/netease/newsreader/activity/NewsReader;->access$98(Lcom/netease/newsreader/activity/NewsReader;Landroid/view/View;)V

    .line 4051
    iget-object v0, p0, Lcom/netease/newsreader/activity/NewsReader$9;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v0}, Lcom/netease/newsreader/activity/NewsReader;->access$99(Lcom/netease/newsreader/activity/NewsReader;)Landroid/view/animation/TranslateAnimation;

    move-result-object v0

    new-instance v1, Lcom/netease/newsreader/activity/NewsReader$9$1;

    invoke-direct {v1, p0, p1}, Lcom/netease/newsreader/activity/NewsReader$9$1;-><init>(Lcom/netease/newsreader/activity/NewsReader$9;Landroid/view/View;)V

    invoke-virtual {v0, v1}, Landroid/view/animation/TranslateAnimation;->setAnimationListener(Landroid/view/animation/Animation$AnimationListener;)V

    .line 4079
    iget-object v0, p0, Lcom/netease/newsreader/activity/NewsReader$9;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v0}, Lcom/netease/newsreader/activity/NewsReader;->access$100(Lcom/netease/newsreader/activity/NewsReader;)Landroid/widget/ImageView;

    move-result-object v0

    iget-object v1, p0, Lcom/netease/newsreader/activity/NewsReader$9;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v1}, Lcom/netease/newsreader/activity/NewsReader;->access$99(Lcom/netease/newsreader/activity/NewsReader;)Landroid/view/animation/TranslateAnimation;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->startAnimation(Landroid/view/animation/Animation;)V

    .line 4080
    return-void
.end method
